import UpmsMenuAndAuthorityTree from '@/core/upms/types/model/dto/UpmsMenuAndAuthorityTree'
import UpmsMenuShowStatusEnum from '@/core/upms/enums/UpmsMenuShowStatusEnum'
import UpmsMenuResponse from '@/core/upms/types/model/response/UpmsMenuResponse'
import UpmsAuthorityResponse from '@/core/upms/types/model/response/UpmsAuthorityResponse'

const menus: UpmsMenuAndAuthorityTree[] = [
	{
		menu: {
			uri: '/account',
			title: '账户管理',
			icon: 'fa fa-user-shield',
			sort: 0,
			showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
		} as Partial<UpmsMenuResponse>,
		authority: {} as UpmsAuthorityResponse,
		children: [
			{
				menu: {
					uri: '/account/application/list',
					title: '账户应用管理',
					icon: 'fa fa-user-shield',
					sort: 0,
					showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
				} as Partial<UpmsMenuResponse>,
				authority: {} as UpmsAuthorityResponse,
				children: [],
			},
			{
				menu: {
					uri: '/account/application/config/list',
					title: '账户应用配置',
					icon: 'fa fa-user-gear',
					sort: 0,
					showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
				} as Partial<UpmsMenuResponse>,
				authority: {} as UpmsAuthorityResponse,
				children: [],
			},
			{
				menu: {
					uri: '/account/application/extend/list',
					title: '账户应用扩展配置',
					icon: 'fa fa-user-gear',
					sort: 0,
					showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
				} as Partial<UpmsMenuResponse>,
				authority: {} as UpmsAuthorityResponse,
				children: [],
			},
			{
				menu: {
					uri: '/account/list',
					title: '账户管理',
					icon: 'fa fa-users',
					sort: 0,
					showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
				} as Partial<UpmsMenuResponse>,
				authority: {} as UpmsAuthorityResponse,
				children: [],
			},
			{
				menu: {
					uri: '/account/profile/list',
					title: '账户基础资料',
					icon: 'fa fa-user-tag',
					sort: 0,
					showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
				} as Partial<UpmsMenuResponse>,
				authority: {} as UpmsAuthorityResponse,
				children: [],
			},
			{
				menu: {
					uri: '/account/passport/list',
					title: '账户通行证管理',
					icon: 'fa fa-id-card',
					sort: 0,
					showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
				} as Partial<UpmsMenuResponse>,
				authority: {} as UpmsAuthorityResponse,
				children: [],
			},
			{
				menu: {
					uri: '/account/event/record/list',
					title: '账户操作日志',
					icon: 'fa fa-file-lines',
					sort: 0,
					showStatus: UpmsMenuShowStatusEnum.DISPLAY.getCode(),
				} as Partial<UpmsMenuResponse>,
				authority: {} as UpmsAuthorityResponse,
				children: [],
			},
		],
	},
]

export default menus
